[INFO] fetching crate intvg 0.1.7...
[INFO] checking intvg-0.1.7 against try#3f7e3b175fda7edbf81081bcd9b91b73f2f7993f for pr-156157
[INFO] extracting crate intvg 0.1.7 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate intvg 0.1.7
[INFO] finished tweaking crates.io crate intvg 0.1.7
[INFO] tweaked toml for crates.io crate intvg 0.1.7 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate intvg 0.1.7 on toolchain 3f7e3b175fda7edbf81081bcd9b91b73f2f7993f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate intvg 0.1.7 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 268fc484603a19c97bb8790ff2955c000eff17333a709e7c7202ab8400b7e680
[INFO] running `Command { std: "docker" "start" "-a" "268fc484603a19c97bb8790ff2955c000eff17333a709e7c7202ab8400b7e680", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "268fc484603a19c97bb8790ff2955c000eff17333a709e7c7202ab8400b7e680", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "268fc484603a19c97bb8790ff2955c000eff17333a709e7c7202ab8400b7e680", kill_on_drop: false }`
[INFO] [stdout] 268fc484603a19c97bb8790ff2955c000eff17333a709e7c7202ab8400b7e680
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3f7e3b175fda7edbf81081bcd9b91b73f2f7993f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 82f6de3f3227a41d0d633d3291796631aeb812f4cab538ba5b418397ae741b78
[INFO] running `Command { std: "docker" "start" "-a" "82f6de3f3227a41d0d633d3291796631aeb812f4cab538ba5b418397ae741b78", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling glob v0.3.1
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling rustix v0.38.21
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling prettyplease v0.2.19
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]    Compiling libloading v0.8.3
[INFO] [stderr]     Checking smallvec v1.11.0
[INFO] [stderr]     Checking float-cmp v0.9.0
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]     Checking arrayvec v0.7.4
[INFO] [stderr]    Compiling serde v1.0.199
[INFO] [stderr]     Checking xmlparser v0.13.5
[INFO] [stderr]    Compiling bindgen v0.69.4
[INFO] [stderr]     Checking bytemuck v1.13.1
[INFO] [stderr]     Checking log v0.4.19
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]     Checking flate2 v1.0.26
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking roxmltree v0.18.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling num-traits v0.2.18
[INFO] [stderr]     Checking arrayref v0.3.7
[INFO] [stderr]     Checking ttf-parser v0.21.1
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]    Compiling jobserver v0.1.31
[INFO] [stderr]     Checking fontconfig-parser v0.5.3
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]    Compiling cc v1.0.95
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking memmap2 v0.9.3
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]     Checking kurbo v0.11.0
[INFO] [stderr]     Checking fdeflate v0.3.0
[INFO] [stderr]     Checking siphasher v1.0.1
[INFO] [stderr]     Checking unicode-script v0.5.5
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]     Checking unicode-ccc v0.2.0
[INFO] [stderr]     Checking unicode-bidi-mirroring v0.2.0
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking unicode-properties v0.1.1
[INFO] [stderr]     Checking png v0.17.9
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]     Checking crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]     Checking simplecss v0.2.1
[INFO] [stderr]     Checking half v2.4.1
[INFO] [stderr]     Checking roxmltree v0.20.0
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]     Checking unicode-bidi v0.3.13
[INFO] [stderr]     Checking imagesize v0.12.0
[INFO] [stderr]     Checking unicode-vo v0.1.0
[INFO] [stderr]     Checking pico-args v0.5.0
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking svgtypes v0.15.1
[INFO] [stderr]     Checking xmlwriter v0.1.0
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking data-url v0.3.1
[INFO] [stderr]     Checking plotters-backend v0.3.5
[INFO] [stderr]     Checking ryu v1.0.17
[INFO] [stderr]     Checking ciborium-io v0.2.2
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking plotters-svg v0.3.5
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]     Checking tiny-skia v0.11.1
[INFO] [stderr]     Checking rustybuzz v0.14.0
[INFO] [stderr]     Checking fontdb v0.18.0
[INFO] [stderr]     Checking itertools v0.10.5
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking cast v0.3.0
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking is-terminal v0.4.12
[INFO] [stderr]     Checking oorandom v11.1.3
[INFO] [stderr]     Checking anes v0.1.6
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]     Checking plotters v0.3.5
[INFO] [stderr]     Checking usvg v0.42.0
[INFO] [stderr]     Checking criterion-plot v0.5.0
[INFO] [stderr]     Checking clap v4.5.4
[INFO] [stderr]    Compiling serde_derive v1.0.199
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]    Compiling intvg v0.1.7 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/render.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn render(&self, scale: f32) -> Result<skia::Pixmap, &str> {
[INFO] [stdout]    |     ---------------------------------------------------------- move the `impl` block outside of this method `render`
[INFO] [stdout] ...
[INFO] [stdout] 20 |         impl From<Rect> for skia::Rect {
[INFO] [stdout]    |         ^^^^^----^----^^^^^^----------
[INFO] [stdout]    |              |    |         |
[INFO] [stdout]    |              |    |         `Rect` is not local
[INFO] [stdout]    |              |    `Rect` is not local
[INFO] [stdout]    |              `From` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/render.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 167 | / fn style_to_paint<'a, R: io::Read, W: io::Write>(img: &TinyVG<R, W>,
[INFO] [stdout] 168 | |     style: &Style, trfm: skia::Transform) ->
[INFO] [stdout] 169 | |     Result<skia::Paint<'a>, &'static str> {
[INFO] [stdout]     | |_________________________________________- move the `impl` block outside of this function `style_to_paint`
[INFO] [stdout] 170 |       impl From<RGBA8888> for skia::Color {  // XXX: why not use ColorU8 defaultly in skia?
[INFO] [stdout]     |       ^^^^^----^--------^^^^^^-----------
[INFO] [stdout]     |            |    |             |
[INFO] [stdout]     |            |    |             `Color` is not local
[INFO] [stdout]     |            |    `RGBA8888` is not local
[INFO] [stdout]     |            `From` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/render.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 167 | / fn style_to_paint<'a, R: io::Read, W: io::Write>(img: &TinyVG<R, W>,
[INFO] [stdout] 168 | |     style: &Style, trfm: skia::Transform) ->
[INFO] [stdout] 169 | |     Result<skia::Paint<'a>, &'static str> {
[INFO] [stdout]     | |_________________________________________- move the `impl` block outside of this function `style_to_paint`
[INFO] [stdout] ...
[INFO] [stdout] 174 |       impl From<Point> for skia::Point {
[INFO] [stdout]     |       ^^^^^----^-----^^^^^^-----------
[INFO] [stdout]     |            |    |          |
[INFO] [stdout]     |            |    |          `Point` is not local
[INFO] [stdout]     |            |    `Point` is not local
[INFO] [stdout]     |            `From` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/convert.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn convert_path(path: &skia::Path, trfm: &usvg::Transform) -> Vec<Segment> {
[INFO] [stdout]    | -------------------------------------------------------------------------- move the `impl` block outside of this function `convert_path`
[INFO] [stdout] 80 |     impl From<skia::Point> for Point {  //unsafe { std::mem::transmute(pt) }
[INFO] [stdout]    |     ^^^^^----^-----------^^^^^^-----
[INFO] [stdout]    |          |    |                |
[INFO] [stdout]    |          |    |                `Point` is not local
[INFO] [stdout]    |          |    `Point` is not local
[INFO] [stdout]    |          `From` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/convert.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 113 | / fn convert_paint<R: io::Read, W: io::Write>(tvg: &mut TinyVG<R, W>,
[INFO] [stdout] 114 | |     paint: &usvg::Paint, opacity: usvg::Opacity, _trfm: &usvg::Transform) -> Option<Style> {
[INFO] [stdout]     | |__________________________________________________________________________________________- move the `impl` block outside of this function `convert_paint`
[INFO] [stdout] ...
[INFO] [stdout] 121 |       impl From<(f32, f32)> for Point {   // unsafe { std::mem::transmute(pt) }
[INFO] [stdout]     |       ^^^^^----^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |            |                    |
[INFO] [stdout]     |            |                    `Point` is not local
[INFO] [stdout]     |            `From` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `coverage_nightly`
[INFO] [stdout]  --> src/main.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg_attr(coverage_nightly, feature(coverage_attribute))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(coverage_nightly)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `coverage_nightly`
[INFO] [stdout]  --> src/main.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[cfg_attr(coverage_nightly, coverage(off))] //#[cfg(not(tarpaulin_include))]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(coverage_nightly)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stdout] warning: unexpected `cfg` condition name: `coverage_nightly`
[INFO] [stdout]  --> src/main.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | #![cfg_attr(coverage_nightly, feature(coverage_attribute))]
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(coverage_nightly)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `coverage_nightly`
[INFO] [stdout]  --> src/main.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[cfg_attr(coverage_nightly, coverage(off))] //#[cfg(not(tarpaulin_include))]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider using a Cargo feature instead
[INFO] [stdout]   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]            [lints.rust]
[INFO] [stdout]            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }
[INFO] [stdout]   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(coverage_nightly)");` to the top of the `build.rs`
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/render.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout]  9 |     fn render(&self, scale: f32) -> Result<skia::Pixmap, &str> {
[INFO] [stdout]    |     ---------------------------------------------------------- move the `impl` block outside of this method `render`
[INFO] [stdout] ...
[INFO] [stdout] 20 |         impl From<Rect> for skia::Rect {
[INFO] [stdout]    |         ^^^^^----^----^^^^^^----------
[INFO] [stdout]    |              |    |         |
[INFO] [stdout]    |              |    |         `Rect` is not local
[INFO] [stdout]    |              |    `Rect` is not local
[INFO] [stdout]    |              `From` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/render.rs:170:5
[INFO] [stdout]     |
[INFO] [stdout] 167 | / fn style_to_paint<'a, R: io::Read, W: io::Write>(img: &TinyVG<R, W>,
[INFO] [stdout] 168 | |     style: &Style, trfm: skia::Transform) ->
[INFO] [stdout] 169 | |     Result<skia::Paint<'a>, &'static str> {
[INFO] [stdout]     | |_________________________________________- move the `impl` block outside of this function `style_to_paint`
[INFO] [stdout] 170 |       impl From<RGBA8888> for skia::Color {  // XXX: why not use ColorU8 defaultly in skia?
[INFO] [stdout]     |       ^^^^^----^--------^^^^^^-----------
[INFO] [stdout]     |            |    |             |
[INFO] [stdout]     |            |    |             `Color` is not local
[INFO] [stdout]     |            |    `RGBA8888` is not local
[INFO] [stdout]     |            `From` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/render.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 167 | / fn style_to_paint<'a, R: io::Read, W: io::Write>(img: &TinyVG<R, W>,
[INFO] [stdout] 168 | |     style: &Style, trfm: skia::Transform) ->
[INFO] [stdout] 169 | |     Result<skia::Paint<'a>, &'static str> {
[INFO] [stdout]     | |_________________________________________- move the `impl` block outside of this function `style_to_paint`
[INFO] [stdout] ...
[INFO] [stdout] 174 |       impl From<Point> for skia::Point {
[INFO] [stdout]     |       ^^^^^----^-----^^^^^^-----------
[INFO] [stdout]     |            |    |          |
[INFO] [stdout]     |            |    |          `Point` is not local
[INFO] [stdout]     |            |    `Point` is not local
[INFO] [stdout]     |            `From` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/convert.rs:80:5
[INFO] [stdout]    |
[INFO] [stdout] 79 | fn convert_path(path: &skia::Path, trfm: &usvg::Transform) -> Vec<Segment> {
[INFO] [stdout]    | -------------------------------------------------------------------------- move the `impl` block outside of this function `convert_path`
[INFO] [stdout] 80 |     impl From<skia::Point> for Point {  //unsafe { std::mem::transmute(pt) }
[INFO] [stdout]    |     ^^^^^----^-----------^^^^^^-----
[INFO] [stdout]    |          |    |                |
[INFO] [stdout]    |          |    |                `Point` is not local
[INFO] [stdout]    |          |    `Point` is not local
[INFO] [stdout]    |          `From` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/convert.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 113 | / fn convert_paint<R: io::Read, W: io::Write>(tvg: &mut TinyVG<R, W>,
[INFO] [stdout] 114 | |     paint: &usvg::Paint, opacity: usvg::Opacity, _trfm: &usvg::Transform) -> Option<Style> {
[INFO] [stdout]     | |__________________________________________________________________________________________- move the `impl` block outside of this function `convert_paint`
[INFO] [stdout] ...
[INFO] [stdout] 121 |       impl From<(f32, f32)> for Point {   // unsafe { std::mem::transmute(pt) }
[INFO] [stdout]     |       ^^^^^----^^^^^^^^^^^^^^^^^-----
[INFO] [stdout]     |            |                    |
[INFO] [stdout]     |            |                    `Point` is not local
[INFO] [stdout]     |            `From` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [optimized + debuginfo] target(s) in 1m 20s
[INFO] running `Command { std: "docker" "inspect" "82f6de3f3227a41d0d633d3291796631aeb812f4cab538ba5b418397ae741b78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82f6de3f3227a41d0d633d3291796631aeb812f4cab538ba5b418397ae741b78", kill_on_drop: false }`
[INFO] [stdout] 82f6de3f3227a41d0d633d3291796631aeb812f4cab538ba5b418397ae741b78
